/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.module.partner.service;

import com.yanlight.app.module.partner.request.*;
import com.yanlight.app.module.partner.response.*;
import com.yanlight.support.http.Response;

/**
 * @author haolw
 * @time 2018/07/04
 */
public interface PartnMerchantService {

    MerchantDetailResponse findDetail(Integer userId);

    MerchantPaycodePageResponse findPagePaycodes(MerchantPaycodesQueryRequest request);

    MerchantPaycodesAvailableResponse findAvailablePaycodes(Integer userId);

    void addPaycode(MerchantPaycodeAddRequest request);

    void modifyPaycode(MerchantPaycodeModifyRequest request);

    MerchantPaycodeResponse findPaycode(Integer id);

    MerchantSubsResponse findPageSubs(MerchantSubPageQueryRequest request);

    void addSub(MerchantSubAddRequest request);

    void modifySub(MerchantSubModifyRequest request);

    MerchantSubDetailResponse findSubDetail(Integer id);

    Response bindCompany(Integer codeId, Integer companyId);

}
